/**
 * Created by yongmingwei on 16/10/27.
 */
import React, { Component } from 'react';
import {
    AppRegistry,
    StyleSheet,
    Text,
    View,
    Image
} from 'react-native';

var Main = require('./WYMMain');
var Launch = React.createClass({
    render(){
        return(
            <Image source={{uri:'launchimage'}} style={styles.launchImageStyle}></Image>
        );
    },
    componentDidMount(){
        setTimeout(()=>{
           this.props.navigator.replace({
              component:Main,
           });
        }, 1500);
    }
});
const  styles = StyleSheet.create({
   launchImageStyle:{
       flex:1
   }
});

module.exports = Launch;
